package example.demo.nospring.mapper;


import example.demo.nospring.entity.User;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

public interface UserMapper {
    User selectOneById(Serializable id);

    List<User> selectOneByIdPage(@Param("username") String username, int start, int end, boolean limitFlag);

    int insertOne(User user);
}
